﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.SqlClient;
using Text.model;
using Test.DAL;

namespace Test.BLL
{
    public class ClassInfoBLL
    {
        public static List<ClassInfo> Select(string name="")
        {
            return ClassInfoDAL.Select();
        }
        public static ClassInfo Select(int id)
        {
            return ClassInfoDAL.Select(id);
        }
        public static int Insert(ClassInfo info)
        {
            return ClassInfoDAL.Insert(info);
        }
        public static int Delete(int id)
        {
            return ClassInfoDAL.Delete(id);
        }
        public static int Update(ClassInfo info)
        {
            return ClassInfoDAL.Update(info);
        }
    }
}
